package com.wenjiang.model.request;


import com.alibaba.fastjson.annotation.JSONField;
import com.wenjiang.annotation.Required;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Map;

/**
 * 订单退款请求
 *
 * @author luowenjiang
 * @date 2024-01-01 15:55:42
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class LantuWxPayRefundOrderWxRequest extends AbstractWxRequest {
    
    @JSONField(name = "out_trade_no")
    @Required
    private String outTradeNo;
    
    @JSONField(name = "out_refund_no")
    @Required
    private String outRefundNo;
    
    @JSONField(name = "refund_fee")
    @Required
    private String refundFee;
    
    @JSONField(name = "refund_desc")
    private String refundDesc;
    
    @JSONField(name = "notify_url")
    @Required
    private String notifyUrl;




    @Override
    public Map<String, String> storeParams(Map<String, String> map) {
        map.put("out_trade_no",outTradeNo);
        map.put("out_refund_no",outRefundNo);
        map.put("refund_fee",refundFee);
        return map;
    }
}
